import React from "react";

import jiangbei from "@/assets/images/jiangbei.png";
import { List } from "../../../components/list";
export const Ranking = ({ data=[] }) => {
  return (
    <div className="ranking-card">
      <div className="ranking-card-title">
        <span>省钱排行榜</span>
      </div>
      <img src={jiangbei} width={85} height={93} alt="排行榜" />
      <List data={data} />
    </div>
  );
};
